//封装userId


const userId = '2021'

function setUserId(user_id){
    localStorage.setItem(userId,user_id)
}

function getUserId(){
   return localStorage.getItem(userId)
}

function removeUserId(){
    localStorage.removeItem(userId)
}

export {setUserId,getUserId,removeUserId}

